package com.shop.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品表：存储商品信息
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Product {
    private Integer id;
    private String name;
    private Double price;
    private Integer stock;
    private String description;
    private Integer isActive;
    private Integer categoryId;
    private Integer brandId;
    private Category category;
    private Brand brand;
}
